package com.yanqu.road.entity.enums;

/**
 * 排行榜大类型
 */
public enum eBigRankType {
    Normal("普通榜单: 总赚速 总能力等", 1),
    Skin("皮肤", 2),
    Vehicle("珍兽", 3),
    Patrons("门客", 4),
    Beauty("美女", 5),
    CurioItem("藏品", 6),
    ;

    private String name;

    private int intValue;

    eBigRankType(String name, int value) {
        intValue = value;
        this.name = name;
    }

    public static eBigRankType forValue(int value) {
        for (eBigRankType type : eBigRankType.values()) {
            if (type.intValue == value) {
                return type;
            }
        }
        return null;
    }

    public int getValue() {
        return intValue;
    }

    public String getName() {
        return name;
    }
}
